<TABLE border="1">
  <TR align="center">
     <TH>Hotel Name</TH>
     <TH>Domain Name</TH>
     <TH>Firstname</TH>
     <TH>Lastname</TH>
     <TH>Email</TH>
     <TH>Telephone</TH>
     <TH>Status</TH>
  </TR>
  <!--[get_userproperty]-->
  <!--[foreach from=$userArray item=item]-->
      <TR>
         <TD width="10%"><!--[$item.hotelname]--></TD>
         <TD width="20%"><!--[$item.domainname]-->.phuketcity.com</TD>
         <TD width="20%"><!--[$item.firstname]--></TD>
         <TD width="10%"><!--[$item.lastname]--></TD>
         <TD width="10%"><!--[$item.email]--></TD>
         <TD width="10%"><!--[$item.telephone]--></TD>

         <TD width="20%">

          <!--[get_member_status_by_uid uid=$item.uid]-->
          <!--[if $status == 1 ]-->
            <form method="post" action="index.php?module=POBMember&type=admin&func=activate&ctrl=Member">
              <input type="hidden" name="uid" value="<!--[$item.uid]-->">
              <input type="hidden" name="domainname" value="<!--[$item.domainname]-->">
              <input type="hidden" name="status" value="2">
              <input type="submit" value="อนุมัติ" disabled>
              <input type="submit" value="ไม่อนุมัติ">
            </form>
          <!--[/if]-->
          <!--[if $status == 2]-->
            <form method="post" action="index.php?module=POBMember&type=admin&func=activate&ctrl=Member">
              <input type="hidden" name="uid" value="<!--[$item.uid]-->">
              <input type="hidden" name="domainname" value="<!--[$item.domainname]-->">
              <input type="hidden" name="status" value="1">
              <input type="submit" value="อนุมัติ">
              <input type="submit" value="ไม่อนุมัติ" disabled>
            </form>
          <!--[/if]-->
          </TD>
      </TR>
  <!--[/foreach]-->
</TABLE>




